﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;

namespace WpfClient.Windows
{
    /// <summary>
    /// Interaction logic for About.xaml
    /// </summary>
    public partial class About : Window
    {
        public About()
        {
            InitializeComponent();

            System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
            
            lbVersion.Content = string.Format("Версия:     {0}",assembly.GetName().Version.ToString());

            lbAuthor.Content = string.Format("Разработчик:     Козак Микола©");

            lbIdiaAuthor.Content = string.Format("Автор идеи программы:  Виталий Давидов©");

        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }
    }
}
